package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

public class UserCollection extends DataObject {

	/**
	 * 玩家ID
	 */
	private long userId;
	/**
	 * 藏品ID
	 */
	private int collectionId;
	/**
	 * 藏品等级
	 */
	private int level;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if (this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
	}

	public int getCollectionId() {
		return collectionId;
	}

	public void setCollectionId(int collectionId) {
		if(this.collectionId != collectionId) {
			this.collectionId = collectionId;
			setUpdateOption();
		}
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		if(this.level != level) {
			this.level = level;
			setUpdateOption();
		}
	}
}
